<?php
error_reporting(E_ERROR | E_PARSE);
//error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
//ini_set("display_errors", 0);
// define('SMARTY_DIR', PROJECT.'/framework/lib/Smarty-3.1.13/libs/');
//

define('ADMIN_TITLE', "game manager");
define('PROJECT_NAME', "game manager");
//define('WEBSITE_URL','http://localhost/');
define('WEBSITE_URL','http://game.c/');

//for include smarty
ini_set('include_path', ini_get('include_path').PATH_SEPARATOR.SMARTY_DIR);
date_default_timezone_set('Asia/Shanghai');


$CONFIG['DB']= ARRAY(
	  'db_host'           =>      '192.168.200.11',
      'db_user'           =>      'root', 
      'db_password'       =>      'root',
      'db_database'       =>      'game_client',
      'db_table_prefix'   =>      'app_',
      'db_charset'        =>      'utf8'  
);

$CONFIG['DATA_SERVER']= ARRAY(
'SERVER_BASE_URL'           =>     'http://119.81.166.243:8080/gamesitebuilder/',
'SERVER_USERNAME'           =>      'skjun.java@gmail.com',
'SERVER_PWD'       =>      'ee7c398408ec7f3981eb8955441db65a',
'SERVER_USER_ID'       =>      '56e12740bafb7',
'SERVER_WEBSITE_NAME'   =>      'http://game.c',
'SERVER_WEBSITE_ID'        =>      '5'
);
$CONFIG['SMARTY']= array(
    'templates'         =>      PROJECT.'/templates/',
    'templates_c'       =>      PROJECT.'/templates_c/',
    'configs'            =>      PROJECT.'/core/',
    'check'            =>      true,
    'cache'             =>      PROJECT.'/cache/',
    'left_delimiter'    =>      '{{',
    'right_delimiter'   =>      '}}',
    'debugging'         =>      false
// 'caching'           =>      Smarty::CACHING_OFF
);
$CONFIG['ROUTER']= array(
    "dir"               => "",
    "controler"         => "index",
    "method"            => "index",
    "param"             => ""
);

